//
//  YKSelectDropdownView.h
//  YunKang
//
//  Created by leoking870 on 2017/9/29.
//  Copyright © 2017年 leoking870. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YKDropdown.h"
@interface YKSelectDropdownView : UIView
- (instancetype)initWithStrings:(NSArray<YKDropdown> *)strings
               initialSelection:(NSUInteger)initialSelection
                  selectHandler:(void(^)(NSUInteger index))selectHandler;

+ (instancetype)showWithOriginView:(UIView *)view
                           strings:(NSArray<YKDropdown> *)strings
                  initialSelection:(NSUInteger)initialSelection
                     selectHandler:(void(^)(NSUInteger index))selectHandler;

@end
